import request from '@/utils/request'
import { getLocation, setLocation, getChunk, setChunk } from '@/utils/systemTools'


// 获取打印价格
export function getPricePararm() {
  const data = {
		status: 1
  }
	const location = getLocation()
	data.deptId = location.deptId
  return request({
    'url': '/printer/pPrice/list',
    headers: {
      isToken: true
    },
    'method': 'get',
    'data': data
  })
}

// 获取封装价格
export function getBookingPrice() {
  const data = {
		status: 1
  }
	const location = getLocation()
	data.deptId = location.deptId
  return request({
    'url': '/printer/bPrice/list',
    headers: {
      isToken: true
    },
    'method': 'get',
    'data': data
  })
}

// 获取配送价格
export function getDeliverPrice() {
  const data = {
		status: 1
  }
	const location = getLocation()
	data.deptId = location.deptId
  return request({
    'url': '/printer/dPrice/list',
    headers: {
      isToken: true
    },
    'method': 'get',
    'data': data
  })
}